package yf.mall.vo.up;


import lombok.Data;

import java.util.Date;

import com.alibaba.excel.annotation.*;

import java.io.Serializable;


import java.math.BigDecimal;

import yf.mall.entity.KolShopEntity;
import yf.mall.vo.KolShopVo;

                                                        
/**
 * 店铺信息表实体
 * 表名 kol_shop
 *
 *
 * 
 * @date Thu Jul 27 08:24:45 CST 2023
 */
@Data
public class KolShopUp implements Serializable {
    @ExcelIgnore
    private static final long serialVersionUID = 1L;

                        //主键，店铺ID
            @ExcelProperty("主键，店铺ID")
            private Long id;
        
                        //店铺名称
            @ExcelProperty("店铺名称")
            private String name;
        
                        //物流体验分等级
            @ExcelProperty("物流体验分等级")
            private String logisticsRating;
        
                        //物流体验分
            @ExcelProperty("物流体验分")
            private BigDecimal logisticsScore;
        
                        //店铺logo
            @ExcelProperty("店铺logo")
            private String logo;
        
                        //商品体验分等级
            @ExcelProperty("商品体验分等级")
            private String productRating;
        
                        //商品体验分
            @ExcelProperty("商品体验分")
            private BigDecimal productScore;
        
                        //店铺评分
            @ExcelProperty("店铺评分")
            private BigDecimal score;
        
                        //店铺评分等级
            @ExcelProperty("店铺评分等级")
            private String scoreRating;
        
                        //店铺体验分等级
            @ExcelProperty("店铺体验分等级")
            private String shopRating;
        
                        //店铺体验分
            @ExcelProperty("店铺体验分")
            private BigDecimal shopScore;
        
                        //备注
            @ExcelProperty("备注")
            private String remark;
        
                        //服务体验分等级
            @ExcelProperty("服务体验分等级")
            private String serviceRating;
        
                        //服务体验分
            @ExcelProperty("服务体验分")
            private BigDecimal serviceScore;
        
    
    public KolShopUp() {

    }

    public KolShopVo toVo() {

        KolShopEntity entity = new KolShopEntity();
            KolShopVo vo = new KolShopVo(entity);
                                    entity.setId(id);
            
                                    entity.setName(name);
            
                                    entity.setLogisticsRating(logisticsRating);
            
                                    entity.setLogisticsScore(logisticsScore);
            
                                    entity.setLogo(logo);
            
                                    entity.setProductRating(productRating);
            
                                    entity.setProductScore(productScore);
            
                                    entity.setScore(score);
            
                                    entity.setScoreRating(scoreRating);
            
                                    entity.setShopRating(shopRating);
            
                                    entity.setShopScore(shopScore);
            
                                    entity.setRemark(remark);
            
                                    entity.setServiceRating(serviceRating);
            
                                    entity.setServiceScore(serviceScore);
            
        
        return  vo;
    }



}
